<html>
<head>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">

    <div class="row">
        <div class="page-header text-center">
            <h2>学生管理</h2>
        </div>
    </div>

    <div class="row">
        <div class="col-md-8">
            <#if !students??>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h2 class="panel-title">Tips</h2>
                    </div>
                    <div class="panel-body">
                        <p>系统里还没有学生</p>
                    </div>
                </div>
            </#if>

            <#list students as  s >
                <div class="panel panel-success">
                    <div class="panel-heading">
                        <h2 class="panel-title">学号:${s.studentId}</h2>
                        <h2 class="panel-title">姓名:${s.studentName}</h2>
                    </div>
                    <div class="panel-body">
                        <a class="btn btn-danger" href="#">删除</a>
                    </div>
                </div>
            </#list>
        </div>
    </div>
</div>
</body>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

</html>